package com.qyer.commons.concurrent.assemblingline;

/**
 * User: Z J Wu Date: 2016/06/12 Time: 11:53 Package: com.qyer.commons.concurrent.assemblingline
 */
public abstract class AbstractHandler<I, O> {

  protected StatisticContext context;

  public AbstractHandler(StatisticContext context) {
    this.context = context;
  }

  public abstract O handle(I order) throws HandleException;
}
